package org.jaaksi.commondemo.model;

import java.io.Serializable;
import java.util.List;

/**
 * 创建时间：2017年12月05日15:52 <br>
 * 作者：fuchaoyang <br>
 * 描述：
 */

public class Person implements Serializable {
  public String id;
  public String name;
  public int age;
  public List<String> nicknames;
  public List<Hobby> hobby;

  public Person(String id) {
    this.id = id;
  }

  public Person(String id, String name) {
    this.id = id;
    this.name = name;
  }

  public static class Hobby {
    public String id;
    public String title;
  }

  @Override public String toString() {
    return "Person{" + "id='" + id + '\'' + ", name='" + name + '\'' + '}';
  }
}
